package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Department;

import java.util.List;

public interface DepartmentService extends BaseService<Department> {

    /**
     * 分页查询
     */
    PageInfo<Department> pageInfo(Department department, int pageSize, int pageNum);

    public List<Department> list(Department department);
}
